/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.hugo.senai.dao;

import java.io.Serializable;

/**
 *
 * @author Hugo
 * @param <T>
 * @param <ID>
 */
public interface GenericDAO<T, ID extends Serializable> {
    
   
    
    T save (T entity);
    void delete(T entity);
    
    
    T findByPrimaryKey(ID id);
    
}
